import request from '@/utils/request'

export function listRuleConfigDict(query) {
  return request({
    url: '/geneConfig/dict/list', method: 'get', params: query
  })
}

export function updateRuleConfigDict(data) {
  return request({
    url: '/geneConfig/dict/add', method: 'post', data: data
  })
}

export function addRuleConfigDict(data) {
  return request({
    url: '/geneConfig/dict/add', method: 'post', data: data
  })
}

export function delPost(id) {
  return request({
    url: '/geneConfig/dict/' + id, method: 'delete'
  })
}
